# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class CompatibleBill(object):

    def __init__(self, billId=None, pin=None, site=None, region=None, appCode=None, appCodeName=None, serviceCode=None, serviceCodeName=None, resourceId=None, billingType=None, billingTypeName=None, formula=None, formulaStr=None, startTime=None, endTime=None, createTime=None, billFee=None, billFee2=None, discountFee=None, couponId=None, couponFee=None, actualFee=None, cashCouponFee=None, balancePayFee=None, cashPayFee=None, arrearFee=None, paySate=None, systemType=None, resourceName=None):
        """
        :param billId: (Optional) 账单ID
        :param pin: (Optional) 用户pin
        :param site: (Optional) 站点
        :param region: (Optional) 区域
        :param appCode: (Optional) appCode
        :param appCodeName: (Optional) appCodeName
        :param serviceCode: (Optional) serviceCode
        :param serviceCodeName: (Optional) serviceCodeName
        :param resourceId: (Optional) 资源id
        :param billingType: (Optional) 计费类型
        :param billingTypeName: (Optional) 计费类型描述
        :param formula: (Optional) 规格
        :param formulaStr: (Optional) 规格
        :param startTime: (Optional) 开始时间
        :param endTime: (Optional) 结束时间
        :param createTime: (Optional) 创建时间
        :param billFee: (Optional) 账单金额
        :param billFee2: (Optional) 账单金额（保留小数点后2位）
        :param discountFee: (Optional) 折扣金额
        :param couponId: (Optional) 代金券id
        :param couponFee: (Optional) 优惠券金额
        :param actualFee: (Optional) 优惠后金额
        :param cashCouponFee: (Optional) 代金券金额
        :param balancePayFee: (Optional) 余额支付金额
        :param cashPayFee: (Optional) 现金支付金额
        :param arrearFee: (Optional) 欠费金额
        :param paySate: (Optional) 支付状态
        :param systemType: (Optional) 1:老计费   2：新计费
        :param resourceName: (Optional) 资源名称
        """

        self.billId = billId
        self.pin = pin
        self.site = site
        self.region = region
        self.appCode = appCode
        self.appCodeName = appCodeName
        self.serviceCode = serviceCode
        self.serviceCodeName = serviceCodeName
        self.resourceId = resourceId
        self.billingType = billingType
        self.billingTypeName = billingTypeName
        self.formula = formula
        self.formulaStr = formulaStr
        self.startTime = startTime
        self.endTime = endTime
        self.createTime = createTime
        self.billFee = billFee
        self.billFee2 = billFee2
        self.discountFee = discountFee
        self.couponId = couponId
        self.couponFee = couponFee
        self.actualFee = actualFee
        self.cashCouponFee = cashCouponFee
        self.balancePayFee = balancePayFee
        self.cashPayFee = cashPayFee
        self.arrearFee = arrearFee
        self.paySate = paySate
        self.systemType = systemType
        self.resourceName = resourceName
